package com.macro.mall.dao.ums;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsAdminRoleRelationDO;
import com.macro.mall.model.ums.UmsAdminRoleRelationQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UmsAdminRoleRelationMapper extends BaseMapper<UmsAdminRoleRelationDO> {
    long countByExample(UmsAdminRoleRelationQuery example);

    int deleteByExample(UmsAdminRoleRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsAdminRoleRelationDO record);

    int insertSelective(UmsAdminRoleRelationDO record);

    List<UmsAdminRoleRelationDO> selectByExample(UmsAdminRoleRelationQuery example);

    UmsAdminRoleRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsAdminRoleRelationDO record, @Param("example") UmsAdminRoleRelationQuery example);

    int updateByExample(@Param("record") UmsAdminRoleRelationDO record, @Param("example") UmsAdminRoleRelationQuery example);

    int updateByPrimaryKeySelective(UmsAdminRoleRelationDO record);

    int updateByPrimaryKey(UmsAdminRoleRelationDO record);
}
